package pl.prv.polanie.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * SubjectTypeDTO entity. @author MyEclipse Persistence Tools
 */

public class SubjectTypeDTO extends Object implements IsSerializable {


    // Fields    

     private long id;
     private String name;
     private String initial;


    // Constructors

    /** default constructor */
    public SubjectTypeDTO() {
    }

    
    /** full constructor */
    public SubjectTypeDTO(String name, String initial) {
        this.name = name;
        this.initial = initial;
    }

   
    // Property accessors


    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getInitial() {
        return this.initial;
    }
    
    public void setInitial(String initial) {
        this.initial = initial;
    }


	public long getId() {
		return id;
	}


	public void setId(long id) {
		this.id = id;
	}
   
	//@Override
	public String toString() {
		String result = "" +
		"[ " + SubjectTypeDTO.class + "]" +
		"name: " + name + 
		", initial: " + initial
		;
		return result;
	}







}